<style>
<!--

.dateDd span.error {
    position: absolute !important;
    left: 260px;
}
-->
</style>
<div class="pageContent">
    <form method="post"
        action="${rc.getContextPath()}/manage/maintainTask/saveMaintainTask"
        class="pageForm required-validate"
        onsubmit="return validateCallback(this, dialogAjaxDone);">
        <div class="pageFormContent">
            <input type="hidden" name="navTabId" value="${navTabId!''}">
            <input type="hidden" name="id"
                value="<#if (task.taskCode)??>${task.taskCode!''}</#if>">
            <fieldset class="dataset">
                <dl>
                    <dt><@label key="taskCode.C,colon">任务编号：</@label></dt>
                    <dd>
                        <input name="taskCode"
                            size="32" type="text" maxlength="20" readonly="readonly"
                        /> 
                    </dd>
                </dl>
                <dl></dl>
                <dl class="dateDd">
                    <dt><@label key="equipmentCode.C,colon">设备编号：</@label></dt>
                    <dd>
                      <input class="required look" id="equipmentLookup.equipmentCode" name="equipmentCode" type="text" postField="equipmentCode" suggestFields="equipmentCode,equipmentText" 
                    suggestUrl="${rc.getContextPath()}/manage/equipment/equipmentSuggest" lookupGroup="equipmentLookup"
                    warn="<@label key='equipmentCode.C,doesNotExist.C'>设备编号不存在</@label>"  remote="${rc.getContextPath()}/manage/equipment/validateEquipmentCodeForSelect"/>
                    <a class="btnLook" href="${rc.getContextPath()}/manage/equipment/equipmentLookUp" rel="equipmentLookup_dialog" width="700" height="450" lookupGroup="equipmentLookup" ><span><@label key="equipmentSelect.C">设备选择</@label></span></a>
                    </dd>
                </dl>
                <dl>
                    <dt><@label key='equipmentText.C,colon'>设备描述：</@label></dt>
                <dd><input id="equipmentLookup.equipmentText" readonly size="22" type="text" maxlength="60" name="equipmentText"  />
            </dd>
                </dl>
            <dl class="dateDd">
                    <dt><@label key="plannedMaintainDate.C,colon">计划维护日期：</@label></dt>
                    <dd>
                        <input type="text" class="required date"  readonly="readonly" name="plannedMaintainDate" dateFmt="yyyy-MM-dd" /> <a class="inputDateButton" href="javascript:;"><@label key="select.B">选择</@label></a>
                    </dd>
                </dl>
                <dl style="height:70px;width:600px">
                    <dt><@label key="memo.C,colon">备注：</@label></dt>
                    <dd>
                        <textarea class="required"  style="width:435px;height:68px;" maxlength="200" name="memo" cols="45" rows="4"></textarea>
                    </dd>
                </dl>
                <dl>
                    <dt>&nbsp;</dt>
                    <dd>
                        <label><input disabled type="checkbox" name="unPlannedFlag" value="1"
                            checked="true"><@label key="unPlannedFlag.C">手工创建标识</@label></label>
                    </dd>
                </dl>
            </fieldset>
        </div>
        <div class="formBar">
            <ul>
                <li><div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit"><@label key="save.B">保存</@label></button>
                        </div>
                    </div>
                </li>
                <li>
                    <div class="buttonActiveGrey">
                        <div class="buttonContent">
                            <button type="button" class="close"><@label key="cancel.B">取消</@label></button>
                        </div>
                    </div></li>
            </ul>
        </div>
    </form>
</div>